//
//  ViewController.m
//  XunHuanGunDong
//
//  Created by 黄世光 on 15/12/15.
//  Copyright © 2015年 SHG. All rights reserved.
//

#import "ViewController.h"
#import "BannerAdsView.h"
#define KscreenWidth [UIScreen mainScreen].bounds.size.width
#define kscreenHeight [UIScreen mainScreen].bounds.size.height
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    BannerAdsView * ban = [[BannerAdsView alloc]initWithFrame:CGRectMake(0, 0, KscreenWidth, kscreenHeight)];
    NSArray *arr=@[@"ydy_1@3x",@"ydy_2@3x"];
    [ban getChildViewsWithObjects:arr PathType:imagePathTypeThree];
    [self.view addSubview:ban];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
